package org.farm.product.domain.convert;

import org.farm.product.domain.bo.ProductSkuBo;
import org.farm.product.infra.basic.entity.ProductSku;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/4/30
 * @description
 */
@Mapper
public interface ProductSkuBoConvert {

    ProductSkuBoConvert INSTANCE = Mappers.getMapper(ProductSkuBoConvert.class);

    List<ProductSku> convertBoListToEntityList(List<ProductSkuBo> productSkuBoList);
}
